from django.urls import path, include
from rest_framework.routers import DefaultRouter
from . import views

router = DefaultRouter()
router.register('levels', views.MemberLevelViewSet)
router.register('points', views.MemberPointsViewSet, basename='points')
router.register('', views.MemberProfileViewSet, basename='member')

urlpatterns = [
    path('', include(router.urls)),
] 